﻿CREATE TABLE [dbo].[JF_T_FieldType]
(
	[Id] UNIQUEIDENTIFIER NOT NULL PRIMARY KEY,
	[Code] nvarchar(32) NOT NULL,
	[Caption] nvarchar(32) NOT NULL,
	[DataType] uniqueidentifier NOT NULL,
	[MaxLength]  int NULL,
	[MinLength]  int NULL,
	[ValidationRegex]  nvarchar(256) NULL,
	[Description]  nvarchar(256) NULL, 
    [CategoryId] UNIQUEIDENTIFIER NOT NULL,
	[IsPrivate] bit NOT NULL
)

